package returnDataStruct;

import pojo.playground;
import pojo.stadium;

import java.util.List;

public class locationDetailData {
    private locationData location;
    private playgroundListData stadiums;

    public locationDetailData(stadium s, List<playground> pl){
        location = new locationData(s);
        stadiums = new playgroundListData(pl);
    }

    public locationData getLocation() {
        return location;
    }

    public void setLocation(locationData location) {
        this.location = location;
    }

    public playgroundListData getStadiums() {
        return stadiums;
    }

    public void setStadiums(playgroundListData stadiums) {
        this.stadiums = stadiums;
    }
}
